<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><{$site_title}>管理中心</title>
<{include file="js.html"}>
<script type="text/javascript">
$(function(){
  $("#myForm").submit(function(){
    return queding('是否保存设置？',".subCheck");
  })
})
</script>
</head>

<body>
<div class="box">
<div style="background:url(images/mainbj.jpg) repeat-x; line-height:31px; height:31px;">
<table width="262" height="31" border="0" cellpadding="0" cellspacing="0">
<tr><td width="41" align="center">
<img src="images/biao1.jpg" /></td>
<td width="221"><strong>当前位置</strong>：话题管理 &gt; 添加小编说</td>
</tr></table>
</div>

<{if $id!=''}>
<table class="lefttab" cellpadding="0" cellspacing="0">
<tbody>
<tr><td height="50px" class="xiugai">
<a style="float:left; margin-left:5px;" href="info_add.php?id=<{$id}>"><div class="inp2">基本信息</div></a>
<a style="float:left; margin-left:5px;" href="info_topic.php?id=<{$id}>"><div class="inp2 inp">小编说</div></a>
<a style="float:left; margin-left:5px;" href="info_comment.php?id=<{$smarty.get.id}>"><div class="inp2">用户评论</div></a>
&nbsp;</td>
  </tr>
</tbody></table>
<{/if}>

<table class="lefttab" cellpadding="0" cellspacing="0">
<tr><td colspan="4"><div style="height:26px; text-align:left; line-height:26px; background:url(images/xbj1.jpg) repeat-x; border:1px solid #e9f5fa;font-weight:bold;">&nbsp;&nbsp;小编说</div>
</td></tr>
<{foreach item=res from=$topics}>
<tr>
  <td align="right" width="50"><font color="#e47c02">*</font> <strong>小编-<{$res.adminName}></strong>：</td>
  <td align="left" width="310">&nbsp;<{$res.topic}></td>
  <td align="left" width="100">&nbsp;<{$res.createTime}></td>
  <td align="left" width="50">&nbsp;<a href="info_topic.php?action=del&tid=<{$res.id}>&id=<{$smarty.get.id}>">删除</a></td>
</tr>
<{/foreach}>
</table>

<form action="" method="post" name="myForm" id="myForm" enctype='multipart/form-data'>
<table class="lefttab" cellpadding="0" cellspacing="0">
<tr><td colspan="3"><div style="height:26px; text-align:left; line-height:26px; background:url(images/xbj1.jpg) repeat-x; border:1px solid #e9f5fa;font-weight:bold;">&nbsp;&nbsp;添加小编说</div>
</td></tr>

<tr>
  <td align="right" width="50"><font color="#e47c02">*</font> <strong>小编说</strong>：</td>
  <td align="left" width="310">&nbsp;<textarea name="topic" rows="10" cols="50" class="subCheck"></textarea> </td>
</tr>

<tr><td height="50px" colspan="2">
	<p>&nbsp;</p>
    <p align="left" style="margin-left:100px;">
      &nbsp;&nbsp;<input type="submit" name="submit" value="保存" class="inp"/>
      </p>    <p>&nbsp;</p></td>
  </tr>
</table>
</form>


</div>
</body>
</html>